package com.lh.enums;

/**
 * @program: foodie-dev
 * @description:
 * @author: LH
 * @create: 2022-04-18 15:11
 **/
public enum CommentLevel {

    GOOD(1, "好评"),
    BAD(3, "差评"),
    NORMAL(2, "中评");

    private final Integer type;
    private final String value;

    CommentLevel(Integer type, String value) {
        this.type = type;
        this.value = value;
    }

    public Integer getType() {
        return type;
    }

    public String getValue() {
        return value;
    }
}
